package cn.com.template.ui;

import java.util.ArrayList;
import java.util.List;

/**
 * FLEXIGRID分页数据BEAN
 * @author Zoe
 * @param <T>
 */
public class Flexigrid {
	//返回当前页
	private int page;
	//总记录数
	private int total;
	//行数据集
	private List<Object> rows;
	
	public Flexigrid() {
		super();
		this.page = 1;
		this.total = 0;
		this.rows = new ArrayList<Object>();
	}
	public Flexigrid(int page, int total, List<Object> rows) {
		super();
		this.page = page;
		this.total = total;
		this.rows = rows;
	}
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		this.page = page;
	}
	public int getTotal() {
		return total;
	}
	public void setTotal(int total) {
		this.total = total;
	}
	public List<Object> getRows() {
		return rows;
	}
	public void setRows(List<Object> rows) {
		this.rows = rows;
	}
	
}
